    package com.young.springdemo.service.strategy.solve;

    import com.young.springdemo.service.strategy.InspectorSolver;
    import org.springframework.stereotype.Component;

    @Component
    public class ChangeShippingSolver extends InspectorSolver {
        @Override
        public void solve(Long orderId, Long userId) {
            System.out.println("订单"+orderId+"开始转快递");
        }

        @Override
        public String[] supports() {
            return new String[]{"CHANGE_SHIPPING"};
        }
    }
